package fr.bda.kanban.util;

public class KanbanException extends Exception {

	private static final long serialVersionUID = 1L;

	private String errKey;

	private String[] errParams;

	public KanbanException(String errKey, String[] errParams) {
		this.errKey = errKey;
		this.errParams = new String[errParams.length];
		System.arraycopy(errParams, 0, this.errParams, 0, errParams.length);
	}

	public String getErrKey() {
		return errKey;
	}

	public void setErrKey(String errKey) {
		this.errKey = errKey;
	}

	public String[] getErrParams() {
		return errParams;
	}

	public void setErrParams(String[] errParams) {
		this.errParams = errParams;
	}

}
